package common

type Config struct {
	ServerAddr    string   `yaml:"server_addr"`
	Port          string   `yaml:"port_tcp"`
	Port2         string   `yaml:"port_ftp"`
	SendType      string   `yaml:"send_type"`
	SendToPath    string   `yaml:"send_path"`      // 上传到路径
	SendFromPaths []string `yaml:"send_from_path"` // 上传的文件
}

func (c *Config) GetServerAddr() string {
	return c.ServerAddr + ":" + c.Port
}
